package com.fjd.mapper;

import com.fjd.entity.Assess;
import com.fjd.vo.AssessVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AssessMapper {
    @Select("select * from assess where merchandise_id = #{productId} order by generate_time desc")
    List<Assess> getListByProductId(String productId);


    void add(Assess assess);
}
